﻿<%@ Page Language="C#"
         AutoEventWireup="true"
         CodeFile="Default.aspx.cs"
         Inherits="_Default"
         ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Test Page</title>
    <link href="SrcFrmt.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td><h1>Test Page</h1></td>
            </tr>
            <tr>
                <td>
                    <b>Enter Source Code to Format:</b><br />
                    <asp:TextBox ID="txtInputCode" runat="server" TextMode="MultiLine" Rows="5" Height="159px" Width="724px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:RadioButtonList ID="LanguageList" runat="server" 
                        RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True">C#</asp:ListItem>
                        <asp:ListItem Value="VB">Visual Basic</asp:ListItem>
                        <asp:ListItem Value="ASPX">ASPX/HTML/XML</asp:ListItem>
                        <asp:ListItem>JavaScript</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="chkLineNumbers" Text="Line numbers" runat="server" />&nbsp;
                    <asp:CheckBox ID="chkAltColor" Text="Alternate background" runat="server" />&nbsp;
                    <asp:CheckBox ID="chkInLineStyle" Text = "In line style" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="height: 24px">
                    <asp:Button ID="cmdGenerate" runat="server" Text="Generate" OnClick="cmdGenerate_Click" />
                </td>
            </tr>
            <tr>
                <td><br /><br />
                    <b>Preview of Code</b><br />
                    <asp:Label ID="lblPreview" runat="server"></asp:Label>
                </td>
            </tr>                        
            <tr>
                <td><br /><br />
                    <b>HTML Code for Source Code</b><br />
                    <asp:TextBox ID="txtCode" runat="server" TextMode="MultiLine" Rows="5" Height="176px" Width="718px"></asp:TextBox>
                </td>
            </tr>  
            <tr>
                <td>
                    Copyright &copy; 2008 Guillermo Javier Bellmann & Jos&eacute; Federico Medrano - Jujuy ASP NET
                </td>
            </tr>                      
        </table>
    </div>
    </form>
</body>
</html>
